export interface Iknow {
    content?: null
    cover?: string
    createAt?: string
    html?: null
    id?:string
    isCommentable?: true
    likes?: number
    order?: number
    parentId?: null
    publishAt?: string
    status?: string
    summary?: string
    title?: string
    toc?: null
    updateAt?: string
    views?: number
}

export interface Ireading {
  id?: string;
  title?: string;
  cover?: string;
  summary?: string;
  content?: string;
  html?: string;
  toc?: string;
  status?: string;
  views?: number;
  likes?: number;
  isRecommended?: boolean;
  needPassword?: boolean;
  isCommentable?: boolean;
  publishAt?: string;
  createAt?: string;
  updateAt?: string;
  category?: Category;
  tags?: any[];
}

interface Category {
  id: string;
  label: string;
  value: string;
  createAt: string;
  updateAt: string;
}

export interface Iartice {
  id: string;
  label: string;
  value: string;
  createAt: string;
  updateAt: string;
  articleCount: number;
}
export interface IdetailRead {
  id: string;
  title: string;
  cover: string;
  summary: string;
  content: string;
  html: string;
  toc: string;
  status: string;
  views: number;
  likes: number;
  isRecommended: boolean;
  needPassword: boolean;
  isCommentable: boolean;
  publishAt: string;
  createAt: string;
  updateAt: string;
  category: Category;
  tags: any[];
}

interface Category {
  id: string;
  label: string;
  value: string;
  createAt: string;
  updateAt: string;
}